package com.zjitc.serviceedu.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 赵诚挚
 * @since 2024-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EduBanner对象", description="")
public class EduBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "轮播图id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "轮播图")
    private String banner;

    @ApiModelProperty(value = "跳转地址")
    private String addres;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = BaseEntity.CustomDateDeserializer.class)
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")

    @JsonDeserialize(using = BaseEntity.CustomDateDeserializer.class)
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
    

    @ApiModelProperty(value = "逻辑删除")

    private Integer isDeleted;


}
